$(function () {
    //tab栏第一列日历读取时间函数
    $(".tabs .notices .calendar").each(function(){
        var date=$(this).find(".get-data").text();
        var year=date.substr(0,4);
        var month=date.substr(5,2);
        var day=date.substr(8,2);
        $(this).find(".data").html(day);
        $(this).find(".year").html(year);
        switch (month)
        {
            case "01":
                month = "一月";
                break;
            case "02":
                month = "二月";
                break;
            case "03":
                month = "三月";
                break;
            case "04":
                month = "四月";
                break;
            case "05":
                month = "五月";
                break;
            case "06":
                month = "六月";
                break;
            case "07":
                month = "七月";
                break;
            case "08":
                month = "八月";
                break;
            case "09":
                month = "九月";
                break;
            case "10":
                month = "十月";
                break;
            case "11":
                month = "十一月";
                break;
            case "12":
                month = "十二月";
                break;
        }
        $(this).find(".month").html(month);
    });
});